ScheduleTicker is a Java-applet and consists of a set of Java class files. These files should reside in a directory named embe/ticker. For faster loading, two archive versions of the applet are also supplied. They are called ticker.zip and ticker.cab and they reside in the embe-directory.
To insert ScheduleTicker into an HTML-document you use the <APPLET>-tag. This is how it looks:
<APPLET CODE="embe.ticker.ScheduleTicker" ARCHIVE="embe/ticker.zip" WIDTH=width HEIGHT=height> <PARAM NAME="cabbase" VALUE="embe/ticker.cab"> ... </APPLET>The attribute CODE points to the applet file to be run. WIDTH and HEIGHT are (not surprisingly) the width and height of the applet. ARCHIVE and CABBASE point to the archive versions of the applet. There are more attributes available to the <APPLET>-tag and they can be found here.
To configure ScheduleTicker you use applet-parameters and a data file. They are both described below.
Note! Don't forget to take a look at the examples provided. Studying examples is often more instructive than just reading boring manuals.
Applet parameters are placed between the <APPLET> and </APPLET> tags. The general syntax for an applet parameter is:
<PARAM NAME="name of parameter" VALUE="parameter value">
The following applet parameters can be set:
Name | Default | Description |
Datafile | tickerdata.txt | The name of the data file. The name should be given relative to the HTML-document. See below for a description of the contents of the data file. |
ImagePos | South | The position of the images (in relation to the text). The position can be North, South, East or West. |
ImageSize | 50 | The size of the image. If ImagePos is North or South, ImageSize will represent the height of the image. If ImagePos is East or West it will represent the width. |
BGColor | White | The background color. Colors are specified in the same way as in HTML, i.e. with a hex string. (For example #FFFFFF = white.) |
TextColor | Black | The color of the text. |
BorderColor | Black | The color of the border around the applet. |
FontName | Helvetica | Name of font to use. The following names will work fine on all platforms:
|
FontStyle | Plain | The style of the font. Can be Plain, Bold or Italic |
FontSize | 12 | The size of the font. |
TextDelay | 3000 | The time, in milliseconds, between changing the texts. |
ImageDelay | 5000 | The time, in milliseconds, between changing the images. |
TextTarget | _self | The frame where the new page should be shown, when a text item is clicked. Use any of the following values:
|
ImageTarget | _self | The frame where the new page should be shown, when an image item is clicked. See TextTarget for possible values. |
The datafile is a text file containing information about the texts and images to be shown. Each row in the datafile represents an item to be shown in the applet. The rows shall be in the following format:
Type of item|Time constraint|Text or URL to image|URL to go to when clicked on|Target window
Date or weekday,Start time,Run time